// 查询分类销售数量
function getCategoryListApi() {
    return $axios({
        url: '/category/dishSaleNum',
        method: 'get'
    })
}

// 查询列表页接口
const searchDishApi = (params) => {
    return $axios({
        url: '/category/dishSaleNum',
        method: 'get',
        params
    })
}

// 查询套餐分类销量
function getSetmealListApi() {
    return $axios({
        url: '/setmeal/setmealSaleNum',
        method: 'get'
    })
}

// 查询列表页接口
const searchSetmealApi = (params) => {
    return $axios({
        url: '/setmeal/setmealSaleNum',
        method: 'get',
        params
    })
}